<?php
$path = $path ? "$path/$data->basename" : $data->basename;
$url = $this->createUrl('index', array('path'=>$path));
?>
<a href="<?php echo $url ?>">
	<div class="folder hover">
		<?php echo $data->basename ?>
	</div>
</a>
